#ifndef ANIMAL_H
#define ANIMAL_H
#include <stdio.h>
#include <stdlib.h>

typedef struct animal{
    char name[20];
    int age;
    void (*eat)(void);
    struct animal* next;
}ANIMAL;

ANIMAL* PutLink_cat(ANIMAL* head);
ANIMAL* PutLink_dog(ANIMAL * head);
ANIMAL* PutLinkfish(ANIMAL* head);



#endif // ANIMAL_H
